package cn.jia.hrm.util;

import cn.jia.hrm.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SearchPageList<T> extends PageList<T> {
    //聚合结果
    private Map<String,List<AggrbucketVo>> aggrMap = null;

    public SearchPageList(Long total ,List list ,Map<String,List<AggrbucketVo>> aggrMap ){
        super(total ,list);
        this.aggrMap = aggrMap;
    }
}
